package com.xx.sg.own.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xx.sg.own.entity.AirLine;
import com.xx.sg.own.mapper.AirLineMapper;
import com.xx.sg.own.service.AirLineService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AirLineServiceImpl extends ServiceImpl<AirLineMapper, AirLine> implements AirLineService {

    @Autowired
    private AirLineMapper airLineMapper;

    @Override
    public List<AirLine> selectAirLineList(AirLine airLine) {
        return airLineMapper.selectAirLineList(airLine);
    }

    @Override
    public AirLine selectAirLineById(String id) {
        return airLineMapper.selectAirLineById(id);
    }
}
